package com.cictec.middleware.api.dc;

import java.util.Date;
import java.util.List;
import java.util.Map;

import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.cictec.middleware.core.entity.DeparterSchedule;

public interface MiddlewareDcBusScheduleService {

	@RequestMapping(value = "/dc/busSchedule")
	public List<DeparterSchedule> selectBusRunScheduleDayList(@RequestBody Map params);

	@RequestMapping(value = "/dc/busSchedule/updateScheduleDriver")
	public void updateScheduleDriver(@RequestParam("signTime") Date signTime, @RequestParam("lineUuid") String lineUuid,
			@RequestParam("busUuid") String busUuid, @RequestParam("drvUuid") String drvUuid);

	@RequestMapping(value = "/dc/busSchedule/updateScheduleDepartureFlag")
	public void updateScheduleDepartureFlag(@RequestParam("date") String date, @RequestParam("busUuid") String busUuid);

	@RequestMapping(value = "/dc/busSchedule/updateBusSchedule")
	public void updateBusSchedule(@RequestBody Map params);

	@RequestMapping(value = "/dc/busSchedule/updateScheduleTripStartOrEndTime")
	public void updateScheduleTripStartOrEndTime(@RequestParam("brsdUuid") String brsdUuid,
			@RequestParam("startTime") Date startTime, @RequestParam("endTime") Date endTime);
}
